<?php foreach($data['data'] as $goods){ ?>
<dl>
    <dt>
        <a target="_blank" href="<?php echo $this->createUrl('/front/goods/detail', array('gid' => $goods['GoodsID'])) ?>">
            <img src="<?php echo $goods['Image'];  ?>" alt="<?php echo $goods['GoodsName'];  ?>">
        </a>
    </dt>
<!--     <dd>
        <p><?php echo mb_substr($goods['GoodsName'], 0, 20, 'utf-8');  ?></p>
        <em>￥</em>
        <span><?php echo $goods['PromoPrice'];  ?></span>
        <div class="spe-offer-line"></div>
        <div class="spe-offer-icon">
            <div data-id="<?php echo $goods['GoodsID']; ?>" class="collect">
                <strong><?php echo MemberCollectModel::getGoodsCount($goods['GoodsID']) ?></strong>
            </div>
        </div>
    </dd> -->
    <dd>
        <div>
            <span>￥</span>
            <strong><?php echo $goods['PromoPrice'];  ?></strong>
            <em>￥<?php echo $goods['Pprice'];  ?></em>
            <b><?php echo $goods['Sales'];  ?>人已买</b>
        </div>
        <p><?php echo mb_substr($goods['GoodsName'], 0, 20, 'utf-8');  ?></p>
                    <div class="floor1-icon clearfix">
                        <?php if(!empty($goods['IsFreeShipping'])){echo '<div>包邮</div>';}  ?>
                        <!-- <div>包邮</div> -->
                        <div class="index-floorone-changeP">拍下改价</div>
                        <?php if($goods['ItemType'] == 1){ ?>
                            <img src="<?php echo yii::app()->theme->baseUrl;  ?>/assets/images/mao.png" alt="">
                        <?php  }else{ ?>
                            <img src="<?php echo yii::app()->theme->baseUrl;  ?>/assets/images/taologo.png" alt="">
                        <?php } ?>                                               
                    </div>
    </dd>
</dl>
<?php  } ?>